﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Decoretor
{
    public class RobotBase :IMoveable
    {
        public void MoveJ(string pointstart, string pointend)
        {
            Console.WriteLine($"机器人从开始点【{pointstart}】移动到了结束点【{pointend}】");
        }
    }

    public interface IMoveable
    {
        void MoveJ(string pointstart, string pointend);
    }
}
